#!/usr/bin/env python3


# import numpy as ny
# import cv2 as cv

# img = cv.imread("../pic/7.png", 1)

# cv.namedWindow("image", cv.WINDOW_NORMAL)

# cv.imshow("image", img)

# k = cv.waitKey(0) & 0XFF

# if k == 27:
#     cv.destroyAllWindows()
# elif k == ord('s'):
#     cv.imwrite('../pic/test.png', img)
#     cv.destroyAllWindows()

# print('------------------------------------')

import numpy as np
import cv2 as cv
from matplotlib import pyplot as plt

img7 = cv.imread('../pic/7.png', 1)
img = cv.cvtColor(img7 , cv.COLOR_BGR2RGB)

plt.imshow(img, interpolation = 'bicubic')
plt.xticks([]), plt.yticks([])  # 隐藏 x 轴和 y 轴上的刻度值
plt.show()



